From bfb491ce56cc900ede4a016b93ba7e16388152c2 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Mon, 19 May 2025 20:04:29 -0400 Subject: [PATCH] revise Unix `PATH` setting Remove unneeded export. Prefix `PATH` to avoid referring unintentional binaries. Co-authored-by: Sutou Kouhei --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index db6262e..52f3b80 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -82,5 +82,5 @@ jobs: cmake --install build --prefix tmp/install cmake -S test/app -B test/app/build -DCMAKE_INSTALL_PREFIX=tmp/install -G'MSYS Makefiles' cmake --build test/app/build - export PATH="$PATH:$(pwd)/tmp/install/bin" + PATH="$(pwd)/tmp/install/bin:$PATH" test/app/build/app.exe -- 2.30.2